package com.ml.utils.test.entity;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import java.io.Serializable;

public abstract class Model<T extends Model<?>> implements Serializable {
    private static final long serialVersionUID = 1L;
    private final transient Log log = LogFactory.getLog(this.getClass());

    public Model() {
    }

    public T selectById(Model model) {
        System.out.println("TTTTT");
        log.info((T) model);
        return (T) model;
    }
}